package it.bambo.tankwars.model;

/**
 * Andreas Baumgartner: andreas@bambo.it
 */
public class Command {

    private CommandType type;

    private double value;

    public Command(CommandType type) {
        this.type = type;
    }

    public Command(CommandType type, double value) {
        this.type = type;
        this.value = value;
    }

    public CommandType getType() {
        return type;
    }

    public double getValue() {
        return value;
    }
}
